package com.hzw.saas.web.app.schedule.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @author hankun
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@ApiModel(value = "日程参数")
public class UserScheduleUpdateParam extends UserScheduleAddParam {

    @NotBlank(message = "pid不可为空")
    @ApiModelProperty(value = "日程任务主键", required = true, position = -2)
    private String pid;

    @ApiModelProperty(value = "删除至垃圾桶 0:正常 1:删除至垃圾桶", position = -1)
    private Integer ashcanFlag;
}
